package com.hmall.api.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

/**
 * @author xiaoqiu
 * @date 2024/10/9 1:18
 * @description
 */
@FeignClient(name = "trade-service")
public interface TradeClient {
    @PutMapping("/orders/{orderId}")
    void markorderPaysuccess(@PathVariable("orderId") Long orderId);

}
